package com.key.service;

import com.key.common.R;
import com.key.common.vo.AreaPageVO;

import com.key.entity.CArea;
import com.key.entity.PArea;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


public interface AreaService {
    R findAllArea();
    R findAreaByPAreaName(AreaPageVO areaPageVO);
    R addPArea(PArea pArea);
    R addCArea(CArea cArea);
    R findAreaByCAreaName(String cAreaName);
    R disableArea(Integer id);
    R enableArea(Integer id);
    R deleteArea(List<Integer> ids);
    R findCAreaById(Integer id);
    R updateArea(CArea cArea);
}
